package com.xzgj.fmmall.dao;

import com.xzgj.fmmall.entity.Interests;
import com.xzgj.fmmall.generator.GeneratorDAO;

import javax.websocket.server.PathParam;
import java.util.List;

public interface InterestsMapper extends GeneratorDAO<Interests> {
    public int insertInterests(Interests interests);
    //根据interestsId查询用户信息
    public Interests queryInterestsByInterestsId(int interestsId);
    //根据用户id更新用户信息
    public int updateInterestsInfoByInterestsId(@PathParam("Interests") Interests interests, @PathParam("int") int interestsId);
    public int deleteInterestsInfoByInterestsId(@PathParam("int") int interestsId);

    public List<Interests> queryInterests();

}
